<?php 
	$testTime=mktime(); 
	$org=1999; 
	$usr="ibmer"; 
	$appid="";//appid 
	$pass="";//对应app 密码 
	$moible="";// 要发送的手机号码 
	$text="";// 要发送内容 
	$pwd="info"; 
	$tel="13800138000"; 
	$msg="测试短信【来自ibmer.info】"; 
	$act=strtoupper($_GET['action']); //http方式发送 
	if ( $act == strtoupper("http.send")){
		$msg="http.php=>".$msg; 
		$serverUrl="http://sms.combmobile.com/api.do";//短信供应商接口 
		//$msg=mb_convert_encoding($msg,'gbk','utf-8');        //乱码处理（根据实际添加）
		$post_data="?appid=$appid&pass=$pass&moible=$moible&text=$text";//传输字符串 
		$ch = curl_init();
		curl_setopt($ch, CURLOPT_POST, 1);
		curl_setopt($ch, CURLOPT_HEADER, 0);                //返回内容中不包含 HTTP 头 
		curl_setopt($ch, CURLOPT_URL,$serverUrl);
		curl_setopt($ch, CURLOPT_NOBODY, 0);                 //读取页面内容
		curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
		curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);            //不自动显示内容 
		$response = curl_exec($ch);
		curl_close($ch);
		echo $response;
		//response即最终返回结果{"code":1000,"msg":"成功","orderId":"302236362290428327"}
		exit();
	}  